package com.zhentao.service;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.realname.dto.RealnameDto;
import com.zhentao.model.user.pojo.ApUserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.user.vo.UserInfoVo;
import freemarker.template.TemplateException;
import io.minio.errors.*;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
* @author 许文倩
* @description 针对表【ap_user_info】的数据库操作Service
* @createDate 2024-07-02 11:05:48
*/
public interface ApUserInfoService extends IService<ApUserInfo> {

    ResponseResult infoList(RealnameDto dto);

    ResponseResult infoUpList();

//    ResponseResult addUserInfo(ApUserInfo apUserInfo) throws ServerException, TemplateException, InvalidBucketNameException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

    ResponseResult updateUserInfo(ApUserInfo apUserInfo) throws ServerException, TemplateException, InvalidBucketNameException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

    ResponseResult checkPass(Integer id);

    ResponseResult checkNotPass(RealnameDto dto);

    ResponseResult infoNotUpList();

    ResponseResult infoNoPassList();

    ResponseResult getByUserId(String userId);

    ResponseResult appInfoUpList(UserInfoVo userInfo);

    ResponseResult getFeedback(String userId);
}
